package com.zyg.apart.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.zyg.apart.model.Flatplay;
import org.springframework.stereotype.Repository;



@Repository
public interface FlatplayService {


    PageInfo<Map<String, Object>> getAllPlay(Integer currentPage);

    Flatplay getPlayById(Integer id);

    int editPlay(Flatplay flatplay);

    int addPlay(Flatplay flatplay);

    int delPlayById(Integer id);
}
